package prize

import (
	"game_server/entity"
	"game_server/framework/global"
)

func SaveOne(settle *entity.PrizeEntity) {
	global.MysqlClient.Create(settle)
}

func SaveBatch(settles []*entity.PrizeEntity) {
	if len(settles) != 0 {
		global.MysqlClient.Create(settles)
	}
}
